Filters the view on the server using a key selector function and configurable value and operator.

Namespace:  C1.Data
Assembly:  C1.Data.Entity (in C1.Data.Entity.dll)

Syntax

C#
public virtual FilteredView<T> AsFilteredBound<TKey>(
	Expression<Func<T, TKey>> keySelector
)
Visual Basic
Public Overridable Function AsFilteredBound(Of TKey) ( _
	keySelector As Expression(Of Func(Of T, TKey)) _
) As FilteredView(Of T)

Parameters

keySelector
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TKey>)>)>>)>)>
A function that returns a key value for filtering given a view item.

Type Parameters

TKey
The type of the value used for filtering.

Return Value

A FilteredView<(Of <(<'T>)>)> that contains elements of this view that have keys satisfying the condition.

See Also